package com.da.springtest.scan;

import com.da.springtest.scan.filters.IService;
import com.da.springtest.scan.filters.MyBean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@ComponentScan(
    useDefaultFilters = false, //不启用默认过滤器
    includeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = MyBean.class),
        @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = IService.class)
    })
public class ScanBean3 {
}